home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00a.txt / 000089_icon-group-sender _Wed May 10 12:46:34 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id MAA22033
  4.     for icon-group-addresses; Wed, 10 May 2000 12:46:15 -0700 (MST)
  5. Message-Id: <200005101946.MAA22033@baskerville.CS.Arizona.EDU>
  6. From: "Frank J. Lhota" <NOSPAM.Frank.Lhota@lexma.meitech.com>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Jcon implementation of csets
  9. X-Priority: 3
  10. X-MSMail-Priority: Normal
  11. X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
  12. X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
  13. Date: Wed, 10 May 2000 15:20:03 -0000
  14. X-Trace: client 957986427 38.163.203.81 (Wed, 10 May 2000 15:20:27 EDT)
  15. To: icon-group@optima.CS.Arizona.EDU
  16. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  17. Status: RO
  18.  
  19. The recent discussion of a Unicode version of Icon and Unicode csets lead me
  20. to look at the Jcon implementation of 8 bit csets. A Jcon cset is
  21. represented using four long (i.e. 64 bit) integers, declared as follows:
  22.  
  23.     long w1, w2, w3, w4;        // four words of cset bits
  24.  
  25. What I do not understand is why these four longs are represented as separate
  26. members, rather than as an array of longs:
  27.  
  28.     long[ ] w = new long[4];        // four words of cset bits
  29.  
  30. Is there some peculiarity about Java that would prohibit this?
  31.  
  32.  
  33.